﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class ERP_PickTOERPDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ERP_TokenRequestDto
    {
        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "userName")]
        public string userName { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "passWord")]
        public string passWord { get; set; }      
    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ERP_TokenResponseDto
    {
        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "data")]
        public string data { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "statusCode")]
        public int statusCode { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

    }








    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ERP_PickTOERPRequestDto
    {
        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PV_SOURCE_SYS_CODE")]
        public string PV_SOURCE_SYS_CODE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PV_BUSINESS_TYPE_CODE")]
        public string PV_BUSINESS_TYPE_CODE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PV_SYNCHRO_FLAG")]
        public string PV_SYNCHRO_FLAG { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "ROWS")]

        public List<ERP_PickTOERP_DataRequestDto> ROWS { get; set; }
    }

    public class ERP_PickTOERP_DataRequestDto
    {
        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORGANIZATION_CODE")]
        public string ORGANIZATION_CODE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORDER_NUMBER")]
        public string ORDER_NUMBER { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORDER_LINE")]
        public string ORDER_LINE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "DELIVERY_DETAIL_ID")]
        public string DELIVERY_DETAIL_ID { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INVENTORY_ITEM_NUMBER")]
        public string INVENTORY_ITEM_NUMBER { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORDER_UOM")]
        public string ORDER_UOM { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_DATE")]
        public string TRANSACTION_DATE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOT_NUMBER")]
        public string LOT_NUMBER { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSACTION_QUANTITY")]
        public string TRANSACTION_QUANTITY { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SUBINVENTORY_CODE")]
        public string SUBINVENTORY_CODE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOCATOR_NAME")]
        public string LOCATOR_NAME { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "USER_NAME")]
        public string USER_NAME { get; set; }


        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SOURCE_NUM")]
        public string SOURCE_NUM { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SOURCE_LINE")]
        public string SOURCE_LINE { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ICP_ORDER_REQ_HEADER_ID")]
        public string ICP_ORDER_REQ_HEADER_ID { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ICP_ORDER_REQ_LINE_NUM")]
        public string ICP_ORDER_REQ_LINE_NUM { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ICP_LOGIST_REQ_HEADER_ID")]
        public string ICP_LOGIST_REQ_HEADER_ID { get; set; }

        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ICP_LOGIST_REQ_LINE_NUM")]
        public string ICP_LOGIST_REQ_LINE_NUM { get; set; }


    }



    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ERP_PickTOERPResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "statusCode")]
        public int statusCode { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "timestamp")]
        public string timestamp { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "data")]

        public ERP_PickTOERP_DataResponseDto data { get; set; }
    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ERP_PickTOERP_DataResponseDto
    {
        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "rows")]

        public List<ERP_PickTOERP_RowsResponseDto> rows { get; set; }
    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ERP_PickTOERP_RowsResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "intF_STATUS")]
        public string intF_STATUS { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "intF_MESSAGE")]
        public string intF_MESSAGE { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "organizatioN_CODE")]
        public string organizatioN_CODE { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ordeR_NUMBER")]
        public string ordeR_NUMBER { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ordeR_LINE")]
        public string ordeR_LINE { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "loT_NUMBER")]
        public string loT_NUMBER { get; set; }


        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "transactioN_QUANTITY")]
        public string transactioN_QUANTITY { get; set; }
    }

}
